/**
 * Filename:CommonConstants.java
 * Date:2015-11-29
 *
 * @author :  postsanf
 * email : postsanf@163.com
 */
package com.github.postsanf.yinian.constants;

/**
 * 公有常量
 */
public class CommonConstants {

    public static final String YNS_GOODS_ID = "goodsID";
    public static final String PICTURE = "picture";
    public static final String AUDIO = "audio";
    public static final String FROM = "from";
    public static final String TO = "to";
    public static final String CONTENT = "content";
    public static final String COVER = "cover";
    public static final String ORDERAUDIO = "orderAudio";
    public static final String AUDIOTIME = "audioTime";
    public static final String RESULT = "result";

    public static final String DEVICE = "device";
    public static final String DATA = "data";
    public static final String SIGN = "sign";
    public static final String DATE = "date";
    public static final String BackupPhotoID = "backupPhotoID";
    public static final String BackupEventID = "backupEventID";

    private CommonConstants() {
    }

    public static final String SP_LOGIN = "yn_config_preferences";
    public static final String SP_YNS_USERNAME = "config_preferences_one";
    public static final String SP_YNS_PASSWORD = "config_preferences_two";
    public static final String LID = "config_preferences_three";
    public static final String SP_DATA = "yn_guide_configs";
    public static final String SHOW_GUIDEPAGE = "show_guide_page_first";
    public static final boolean isShowLog = true;

    // 缓存图片路径
    public static final String YNIMG_PATH = "yinian/imgCache";

    // 服务器图片前缀
    public static final String YNQNURL = "http://7xlmtr.com1.z0.glb.clouddn.com/";

    // 用于msg.what值
    public static final String MSGWHAT = "What";
    public static final int ALERTGROUP = 0x0012;


    public static final String ISNEW = "isNew";

    public static final String THEME_COLOR = "color";
    public static final String THEME_DRAWABLE = "drawable";
    public static final String THEME_PACKAGE = "com.github.postsanf.skinby";

    // Intent键名
    public static final String YNDATAS = "datas";
    public static final String YNPOSITION = "position";
    public static final String YNPICURLS = "picUrls";
    public static final String YNSTATUS = "status";
    public static final String YNUSERITEM = "userItem";
    public static final String YNUSERNAME = "userName";
    public static final String YNUSERID = "userId";
    public static final String YNUSERNOTENAME = "userNoteName";
    public static final String YNGROUPITEM = "groupItem";
    public static final String YNGROUPNAME = "groupName";
    public static final String YNGROUPID = "groupId";
    public static final String YNGROUPTYPE = "gtype";
    public static final String YNISME = "isme";
    public static final String YNISCHAT = "ynischat";

    public static final String YN_ALBUM = "yn_album";

    public static final String YNBANNERURL = "bannerurl";

    public static final String YNS_MACHINE = "machine";
    public static final String YNS_SYSTEM = "system";

    public static final String YNS_ORDER = "order";

    //wx解析
    public static final String PARAM_OPENID = "unionid";    // 独有ID
    public static final String PARAM_NICKNAME = "nickname";
    public static final String PARAM_WECHATPIC = "headimgurl";
    public static final String PARAM_WECHATSEX = "sex";
    public static final String PARAM_PROVINCE = "province";
    public static final String PARAM_CITY = "city";

    // 请求参数(不可擅自修改)
    // wx
    public static final String YNS_OPENID = "openid";
    public static final String YNS_WECHATNICKNAME = "wechatNickname";
    public static final String YNS_WECHATPIC = "wechatPic";
    public static final String YNS_WECHATSEX = "wechatSex";
    public static final String YNS_PROVINCE = "province";
    public static final String YNS_CITY = "city";

    public static final String YNS_USERNAME = "username";
    public static final String YNS_PASSWORD = "password";
    public static final String YNS_CHANELSOURCE = "source";
    public static final String YNS_APP_VERSION = "version";
    public static final String YNS_PHONE_NUM = "phonenumber";
    public static final String YNS_PICURL = "picUrl";
    public static final String YNS_REALNAME = "realName";

    public static final String YNS_YEAR = "year";
    public static final String YNS_MONTH = "month";
    public static final String Name = "name";
    public static final String YNS_P_ID = "pid";
    public static final String YNS_USER_ID = "userid";
    public static final String YNS_BEUSER_ID = "beUserid";
    public static final String YNS_SEX = "sex";
    public static final String YNS_NICKNAME = "nickname";
    public static final String YNS_BIRTHDAY = "birthday";
    public static final String YNS_INFO_DATA = "data";
    public static final String YNS_INFO_TYPE = "type";
    public static final String YNS_PIC = "pic";
    public static final String YNS_REDENVELOPID = "redEnvelopID";
    public static final String YNS_TRANSACTIONID = "transactionID";

    public static final String YNS_MA_ID = "maID";
    public static final String YNS_GROUP_ID = "groupid";
    public static final String YNS_GROUP_NAME = "groupName";
    public static final String YNS_GROUP_TYPE = "groupType";
    public static final String YNS_MAX_ID = "maxID";
    public static final String YNS_MIN_ID = "minID";
    public static final String YNS_EVENT_ID = "eventId";
    public static final String YNS_EVENT_IDD = "eventid";
    public static final String YNS_CONTENT = "content";
    public static final String YNS_EPLACE = "eplace";
    public static final String YNS_TAGS = "tags";
    public static final String YNS_AUDIO = "audio";
    public static final String YNS_AUDIOTIME = "audiotime";
    public static final String YNS_STORAGE = "storage";
    public static final String YNS_MEMORYTIME = "memorytime";
    public static final String YNS_PLACE = "place";
    public static final String YNS_PLACEPIC = "placePic";
    public static final String YNS_PLACELONGITUDE = "placeLongitude";
    public static final String YNS_PLACELATITUDE = "placeLatitude";
    public static final String YNS_PEOPLENAME = "peopleName";
    public static final String YNS_VERIFYPICADDRESS = "verifyPicAddress";
    public static final String YNS_TOTALNUM = "totalNum";
    public static final String YNS_TOTALMONEY = "totalMoney";
    public static final String YNS_MAIN = "main";
    public static final String YNS_SOURCE = "source";
    public static final String YNS_CARDSTYLE = "cardstyle";
    public static final String YNS_COVERURL = "coverUrl";
    public static final String YNS_MESSAGE_ID = "messageID";
    public static final String YNS_DEL_COMMENT = "commentID";
    public static final String YNS_NOTICE_ID = "notificationID";
    public static final String YNS_SIGN_INIT = "initialization";
    public static final String YNS_SIGN_LOAD = "loading";
    public static final String YNS_SIGN_INITS = "initialize";
    public static final String YNS_SIGN_REFRESH = "refresh";
    public static final String YNS_MAX_IGID = "maxIGid";
    public static final String YNS_MAX_MID = "maxMid";
    public static final String YNS_MAX_NID = "maxNid";

    public static final String YNS_ADDRESS = "address";
    public static final String YNS_EID = "eid";
    public static final String YNS_MAXEVENT_ID = "maxEventID";
    public static final String YNS_PIC_ADDRESS = "picAddress";
    public static final String YNS_PIC_MODE = "mode";
    public static final String YNS_SIGN = "sign";

    public static final String YNS_COMMENT_USER_ID = "commentUserId";
    public static final String YNS_COMMENTED_USER_ID = "commentedUserId";

    public static final String YNS_ED_USER_ID = "eduserid";

    public static final String YNS_COMMENT_ID = "commentID";
    public static final String YNS_URL = "url";
    public static final String YNS_GROUP_IDD = "groupID";
    public static final String YNS_ADDRESS_ID = "addressID";
    public static final String YNS_ITEM_ID = "itemID";
    public static final String YNS_NUM = "num";
    public static final String YNS_ORDER_AUDIO = "orderAudio";

    public static final String YNS_CID = "cid";
    public static final String YNS_DEVICE = "device";

    public static final String YNS_ID = "id";
    public static final String YNS_INVITE_CODE = "inviteCode";

    public static final String YNS_MUSICID = "musicid";
    public static final String YNS_TEMPLETID = "templetid";


    public static final String YNS_SHOTTIME = "shottime";
    public static final String YNS_SHOTPLACE = "shotplace";
    public static final String YNS_IS_PUSH = "isPush";
    //	type
    public static final String YNS_TYPE_ENTER = "enter";
    public static final String YNS_TYPE_QUIT = "quit";
    // device
    public static final String YNS_DEVICE_ANDROID = "Android";

    //getAwardTypr
    public static final String YN_AWARDTYPE_TYPE = "type";

    // 回调标识

    // common
    public static final String REQ_CODE = "reqCode";                // 返回码
    public static final String REQ_DATA = "reqDATA";                // 返回数据

    public static final int REQ_GROUP_MANAGE = 0x1001;                    // 组管理
    public static final int REQ_ALERT_GNAME = 0x1002;                    // 修改组名
    public static final int REQ_PUBLISH = 0x1004;                    // 发布状态
    public static final int REQ_PREVIEW = 0x1005;                    // 预览图片
    public static final int REQ_ALBUM_MANAGE = 0x1006;                    // 相册管理
    public static final int REQ_COMMENT_UPDATE = 0x1007;                    // 评论更新
    public static final int REQ_MUSIC_TITLE = 0x1008;                    // 音乐相册标题
    public static final int REQ_MUSIC_IMAGE = 0x1009;                    // 音乐相册图片
    public static final int REQ_SORT = 0x1011;                    // 相册排序
    // ID
    public static final int SYSTEM_ID = 10;                    // 系统ID
    public static final String YN_ZERO = "0";                        // 默认ID


    // 提示
    public static final String YN_NET_LINK = "访问失败，请检查网络连接状况";
    public static final String TIP_INPUT_USERNAME = "请输入用户名";
    public static final String TIP_ERROR_PASSWORD = "亲爱的，你的登录信息写错了！";
    public static final String TIP_LOAD_LOGIN = "正在登录...";
    public static final String TIP_LOAD_DATA = "正在加载...";
    public static final String TIP_LOAD_TODO = "正在处理...";
    public static final String TIP_LOAD_IMG = "正在拼接图片...";
    public static final String TIP_LOAD_UP = "正在上传...";
    public static final String TIP_UNKNOW = "哎呀，系统迷糊了 哦多克~~~";

    public static final String TIP_SLIDE_TOP = "已经是第一张了";
    public static final String TIP_SLIDE_DOWN = "已经是最后一张了";
    public static final String TIP_NO_DATA = "暂无数据";
    public static final String TIP_SEND_SUCCESS = "申请已提交,请等待回信";

    public static final String gfxc = "官方相册";
    public static final String xyxc = "校园相册";

    public static final String defualt_iv2_url = YNQNURL + "timeline_defualt_pic1.jpg";
    public static final String defualt_iv3_url = YNQNURL + "timeline_defualt_pic2.png";
    public static final String YNS_TYPE = "type";
    public static final String COLOR = "color";
    public static final String REPEAT = "repeat";
    public static final String NOTIFY = "notify";
    public static final String MARKID = "markID";
    public static final String YNS_RESULT = "result";
    public static final String TIMEWALL = "timeWall";
    public static final String TIMELINE = "timeLine";
    public static final String YNS_PICTURE = "picture";
    public static final String YNS_COVER = "cover";
    public static final String YNS_OWNER = "owner";
}
